package com.lovenote.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.base.common.dao.IBaseDao;
import com.base.common.service.impl.BaseServiceImpl;
import com.lovenote.common.dao.IUserProfileDao;
import com.lovenote.common.pojo.UserProfile;
import com.lovenote.common.service.IUserProfileService;

/**
 * 
 * @author xingkong1221
 *
 */
@Service("userProfileService")
public class UserProfileServiceImpl extends BaseServiceImpl<UserProfile, Long> implements IUserProfileService {
	private IUserProfileDao userProfileDao;
	
	@Autowired
	@Qualifier("userProfileDao")
	@Override
	public void setBaseDao(IBaseDao<UserProfile, Long> baseDao) {
		// TODO Auto-generated method stub
		this.baseDao = baseDao;
		this.userProfileDao = (IUserProfileDao) baseDao;
	}

}
